package com.ruoyi.system.domain.sz;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人信息-岗前备案对象 sz_personal_record
 * 
 * @author ruoyi
 * @date 2024-03-14
 */
public class SzPersonalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 备案ID */
    private Long recordId;

    /** 个人ID */
    @Excel(name = "个人ID")
    private Long personalId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String unit;

    /** 现任职务 */
    @Excel(name = "现任职务")
    private String currentPosition;

    /** 任职时间 */
    @Excel(name = "任职时间")
    private String employmentDate;

    /** 涉密等级 */
    @Excel(name = "涉密等级")
    private String securityLevel;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String jobTitle;

    /** 人员状态 */
    @Excel(name = "人员状态")
    private String personnelStatus;

    /** 培训方式 */
    @Excel(name = "培训方式")
    private String trainMethod;

    /** 上岗时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上岗时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onJobDate;

    /** 指纹状态 */
    @Excel(name = "指纹状态")
    private String fingerprintStatus;

    /** 人脸状态 */
    @Excel(name = "人脸状态")
    private String faceStatus;

    /** 取件卡状态 */
    @Excel(name = "取件卡状态")
    private String cardStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 单位名称 */
    private String unitName;
    /** 涉密等级名称 */
    private String securityName;
    /** 岗位名字 */
    private String jobName;
    /** 人员状态名称 */
    private String psName;


    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getPsName() {
        return psName;
    }

    public void setPsName(String psName) {
        this.psName = psName;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setPersonalId(Long personalId) 
    {
        this.personalId = personalId;
    }

    public Long getPersonalId() 
    {
        return personalId;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setCurrentPosition(String currentPosition) 
    {
        this.currentPosition = currentPosition;
    }

    public String getCurrentPosition() 
    {
        return currentPosition;
    }
    public void setEmploymentDate(String employmentDate) 
    {
        this.employmentDate = employmentDate;
    }

    public String getEmploymentDate() 
    {
        return employmentDate;
    }
    public void setSecurityLevel(String securityLevel) 
    {
        this.securityLevel = securityLevel;
    }

    public String getSecurityLevel() 
    {
        return securityLevel;
    }
    public void setJobTitle(String jobTitle) 
    {
        this.jobTitle = jobTitle;
    }

    public String getJobTitle() 
    {
        return jobTitle;
    }
    public void setPersonnelStatus(String personnelStatus) 
    {
        this.personnelStatus = personnelStatus;
    }

    public String getPersonnelStatus() 
    {
        return personnelStatus;
    }
    public void setTrainMethod(String trainMethod) 
    {
        this.trainMethod = trainMethod;
    }

    public String getTrainMethod() 
    {
        return trainMethod;
    }
    public void setOnJobDate(Date onJobDate) 
    {
        this.onJobDate = onJobDate;
    }

    public Date getOnJobDate() 
    {
        return onJobDate;
    }
    public void setFingerprintStatus(String fingerprintStatus) 
    {
        this.fingerprintStatus = fingerprintStatus;
    }

    public String getFingerprintStatus() 
    {
        return fingerprintStatus;
    }
    public void setFaceStatus(String faceStatus) 
    {
        this.faceStatus = faceStatus;
    }

    public String getFaceStatus() 
    {
        return faceStatus;
    }
    public void setCardStatus(String cardStatus) 
    {
        this.cardStatus = cardStatus;
    }

    public String getCardStatus() 
    {
        return cardStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("personalId", getPersonalId())
            .append("unit", getUnit())
            .append("currentPosition", getCurrentPosition())
            .append("employmentDate", getEmploymentDate())
            .append("securityLevel", getSecurityLevel())
            .append("jobTitle", getJobTitle())
            .append("personnelStatus", getPersonnelStatus())
            .append("trainMethod", getTrainMethod())
            .append("onJobDate", getOnJobDate())
            .append("fingerprintStatus", getFingerprintStatus())
            .append("faceStatus", getFaceStatus())
            .append("cardStatus", getCardStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
